import { createApp } from 'vue'
import App from './App.vue'
//导入全局样式
import "./assets/css/global.css"
//导入路由
import router from "./router/index"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//加载ele-plus的消息弹出
import 'element-plus/theme-chalk/el-loading.css'
import 'element-plus/theme-chalk/el-message.css'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(router)
app.mount('#app')
